places.
:type (get 'pcomplete-dir-ignore 'custom-type)
:group 'eshell-cmpl)
-(defcustom eshell-cmpl-ignore-case (eshell-under-windows-p)
+(defcustom eshell-cmpl-ignore-case (or (eshell-under-windows-p)
+ (eshell-under-cygwin-p))
(documentation-property 'pcomplete-ignore-case
'variable-documentation)
:type (get 'pcomplete-ignore-case 'custom-type)
(setq args (eshell-flatten-list args))
(let ((path (car args))
(subpath (car (cdr args)))
- (case-fold-search (eshell-under-windows-p))
+ (case-fold-search (or (eshell-under-windows-p)
+ (eshell-under-cygwin-p)))
handled)
(if (numberp path)
(setq path (number-to-string path)))
:type 'boolean
:group 'eshell-glob)
-(defcustom eshell-glob-case-insensitive (eshell-under-windows-p)
+(defcustom eshell-glob-case-insensitive (or (eshell-under-windows-p)
+ (eshell-under-cygwin-p))
"*If non-nil, glob pattern matching will ignore case."
:type 'boolean
:group 'eshell-glob)
(motion (if (> arg 0) 1 -1))
(n (mod (- (or start (eshell-search-start arg)) motion) len))
(tried-each-ring-item nil)
- (case-fold-search (eshell-under-windows-p))
+ (case-fold-search (or (eshell-under-windows-p)
+ (eshell-under-cygwin-p)))
(prev nil))
;; Do the whole search as many times as the argument says.
(while (and (/= arg 0) (not tried-each-ring-item))
"Return non-nil if we are running under MS-DOS/Windows."
(memq system-type '(ms-dos windows-nt)))
+(defsubst eshell-under-cygwin-p ()
+ "Return non-nil if we are running under Cygwin."
+ (eq system-type 'cygwin32))
+
(defmacro eshell-condition-case (tag form &rest handlers)
"Like `condition-case', but only if `eshell-pass-through-errors' is nil."
(if eshell-handle-errors